import { DrawerProps } from 'naive-ui';
import Drawer from '../utils/class/Drawer';

function useDrawer(title: string, component?: __VueComponent, props?: DrawerProps & DrawerPropsExt): Drawer {
  return new Drawer(title, component, props);
}

export default useDrawer;
